
goog.provide('esn.dialog.NetworkSurveyDialog');

goog.require('esn.dialog.BaseDialog');


esn.dialog.NetworkSurveyDialog = function() {
  goog.base(this);

  this.setTitle('Section not completed');
  this.setContent('Please move everyone in your network to a category.');
  this.setModal(true);
  this.setButtons([
    esn.dialog.BaseDialog.Button.OK
  ]);
};
goog.inherits(esn.dialog.NetworkSurveyDialog, esn.dialog.BaseDialog);

esn.dialog.NetworkSurveyDialog.prototype.enterDocument = function() {
  goog.base(this, 'enterDocument');

  this.getHandler().listen(
      this,
      esn.dialog.BaseDialog.EventType.OK,
      this.handleOkClick_);
};

esn.dialog.NetworkSurveyDialog.prototype.handleOkClick_ = function(e) {
  this.setVisible(false);
};
